﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Blog.Master" AutoEventWireup="true" CodeBehind="Article.aspx.cs" Inherits="IXION.BLOG.WEB.UI.Article" %>

<%@ Register TagPrefix="calender" TagName="Calender" Src="~/UserControl/Calendar.ascx" %>
<%@ Register TagPrefix="search" TagName="Search" Src="~/UserControl/Search.ascx" %>
<%@ Register TagPrefix="music" TagName="Music" Src="~/UserControl/Music.ascx" %>
<%@ Register TagPrefix="cd" TagName="CountdownPanel" Src="~/UserControl/CountdownPanel.ascx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder" runat="server">
    <div id="context" class="context">
        <div id="left" class="BlogList pull-left">
            <div class="content-left">
                <div class="pull-left title"><%= article.Title %></div>
                <div class="pull-right posttime">发表时间:<%= article.PostTime.ToString("yyyy-MM-dd hh:mm:ss") %></div>
            </div>
            <br />
            <hr />
            <div class="content">
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<%= article.Content %>
            </div>
            <br />
            <div class="tags">
                Tags: <%= ConvertToTags(article.Tags) %>
            </div>
            <div class="article-censuses">
                作者: <%= article.Author.UserName %> | 分类: <a href="Catalog.aspx?id=<%= article.CatalogId %>"><%= article.Catalog.Name %></a> | 评论: <%= article.CommentCount  %> | 浏览: <%= article.ReadCount %>
            </div>
            <hr />



        </div>
        <div id="right" class="rightInfo pull-right">
            <div id="countdown">
                <cd:CountdownPanel runat="server" ID="CountdownPanel" />
            </div>
            <div id="search">
                <hr class="controlSplit" />
                <search:Search ID="Search1" runat="server" />
            </div>
            <div id="calendar">
                <hr class="controlSplit" />
                <calender:Calender ID="Calender" runat="server" />
            </div>
            <div id="music">
                <hr class="controlSplit" />
                <music:Music ID="Music1" runat="server" />
            </div>
            <div id="new">
                最新博文
            </div>
            <div id="hotTags">
                热门标签
            </div>
            <div id="links">
                友情链接
            </div>
        </div>
    </div>
</asp:Content>
